home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
f90
/
ceiling.z
/
ceiling
Wrap
Text File
|
1998-10-30
|
2KB
|
47 lines
CEILING(3I) Last changed: 1-6-98
NNAAMMEE
CCEEIILLIINNGG - Returns the least integer greater than or equal to its
argument
SSYYNNOOPPSSIISS
CCEEIILLIINNGG (([AA==]_a))
IIMMPPLLEEMMEENNTTAATTIIOONN
UNICOS, UNICOS/mk, and IRIX systems
SSTTAANNDDAARRDDSS
Fortran 90
DDEESSCCRRIIPPTTIIOONN
The CCEEIILLIINNGG intrinsic function returns the least integer greater than
or equal to its argument. It accepts the following argument:
_a Must be of type real
CCEEIILLIINNGG is an elemental function. The name of this intrinsic cannot
be passed as an argument.
NNOOTTEESS
On UNICOS systems, both execution speed and the number of bits used in
mathematical operations are affected when compiling with
ff9900 --OO ffaassttiinntt, which is the default setting. For more information on
this, see the _C_F_9_0 _C_o_m_m_a_n_d_s _a_n_d _D_i_r_e_c_t_i_v_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l,
publication SR-3901.
RREETTUURRNN VVAALLUUEESS
The result type is a default integer. The result has a value equal to
the least integer greater than or equal to _a. The result is undefined
if the system cannot represent this value in the default integer type.
EEXXAAMMPPLLEESS
CCEEIILLIINNGG((33..77)) has the value 4. CCEEIILLIINNGG((--33..77)) has the value -3.
SSEEEE AALLSSOO
_C_F_9_0 _C_o_m_m_a_n_d_s _a_n_d _D_i_r_e_c_t_i_v_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-3901
_I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
printed version of this man page.